4af4cece1392a3d0bb1c0c469f41e97bdb5cc21b,third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/TrieMap.java,TrieMap,lookuphc,#K#number#,188

Before Change


    }

    private Object lookuphc(final K k, final int hc) {
        while (true) {
            final INode<K, V> r = RDCSS_READ_ROOT();
            final Object res = r.rec_lookup(k, hc, 0, null, this);
            if (!INode.RESTART.equals(res)) {
                return res;

After Change


        Object res;
        do {
            // Keep looping as long as RESTART is being indicated
            res = RDCSS_READ_ROOT().rec_lookup(k, hc, 0, null, this);
        } while (INode.RESTART.equals(res));

        return (V) res;